<div th:fragment="header">
    <button class="back-btn" onclick="goBack()"><i class="fas fa-arrow-left"></i> 返回</button>
    <div class="title"></div>
    <button class="exit-btn" onclick="logout()">退出 <i class="fas fa-sign-out-alt"></i></button>
</div>

<div th:fragment="footer(active)">
    <a href="index" class="footer-item " th:classappend="${active} eq 'index'?'active':''">
        <div class="footer-icon"><i class="fas fa-home"></i></div>
        <div>首页</div>
    </a>
<!--    <a href="calender" class="footer-item calendar-menu" th:classappend="${active} eq 'calender'?'active':''">-->
<!--        <div class="footer-icon"><i class="fas fa-calendar-alt"></i></div>-->
<!--        <div>日历</div>-->
<!--    </a>-->
    <a href="user" class="footer-item" th:classappend="${active} eq 'user'?'active':''">
        <div class="footer-icon"><i class="fas fa-user"></i></div>
        <div>个人中心</div>
    </a>

<!--    <div class="layui-container">-->
<!--        <div class="layui-col-xs4 layui-col-sm5 layui-col-md4">-->
<!--            <a href="">首页</a>-->
<!--        </div>-->
<!--        <div class="layui-col-xs4 layui-col-sm5 layui-col-md4">-->
<!--            <a href="">我的</a>-->
<!--        </div>-->
<!--    </div>-->
</div>